<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

$title = 'Edit album';
$this->headTitle($title);
?>
<h1><?php echo $this->escapeHtml($title);?></h1>
<?php
$form->setAttribute('action' , $this->url('album' , array('action' => 'edit' , 'id' => $this->id)));
$form->prepare();
echo $this->form()->openTag($form);
?>
<section class="add-album">
    <dl class="zend_form">
        <dt></dt>
        <dd><?php
            echo $this->formHidden($form->get('id'));
        ?></dd>
        <dt><?php echo $this->formLabel($form->get('title')); ?></dt>
        <dd><?php
        echo $this->formElement($form->get('title'));
        echo $this->formElementErrors($form->get('title'));
        ?></dd>
        <dt><?php echo $this->formLabel($form->get('artist'));
        ?></dt>
        <dd><?php
        echo $this->formElement($form->get('artist'));
        echo $this->formElementErrors($form->get('artist'));
        ?></dd>	
        <dd><?php
        echo $this->formElement($form->get('submit'));
        echo $this->formElementErrors($form->get('submit'));
        ?></dd>	
    </dl>        
</section>
<?php
echo $this->form()->closeTag($form);
?>